package com.tuyue.police.biz;

import com.tuyue.police.bean.RuleBean;
import com.tuyue.police.pojo.Rule;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


/**
 * @Author: 王金海
 * @Description:
 * @Date: Created by Administrator on 2018/3/15.
 * @Modified By:
 */
public interface IRuleBiz {

    Page<Rule> findAllByUserId(Long userId, Pageable pageable);


    RuleBean findById(Long rId);

    RuleBean add(RuleBean ruleBean);


}
